// import { Dispatch } from "redux";
import { LOADING, LOGIN, THEME } from './axtionTypes';

// 主题
export const setTheme = (data: object) => ({
  type: THEME,
  data,
});
export const setLogin = (data: boolean) => ({
  type: LOGIN,
  data,
});
export const setLading = (data: boolean) => ({
  type: LOADING,
  data,
});
